Construct 2 Game Development by Example by John Bura

Construct 2 Game Development by Example by John Bura

Author:John Bura [Bura, John]
Language: eng
Format: azw3, mobi, epub, pdf
Publisher: Packt Publishing
Published: 2014-06-24T16:00:00+00:00


Adding mouse controls

Let's add some mouse controls. First click on Add event and then click on System. The mouse controls will allow us to use the mouse and access its properties, such as position, clicks, and movement.

Then, click on Every tick. The Every tick option will access the game loop and it will make sure that the logic for this event will always be checked.

Once you have Every tick selected, it should look like this:

Click on Add action and then click on the player. Then, select Set angle toward position from the Angle list, as shown in the following screenshot:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.